﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OperationLibrary;

namespace 计算器
{
    class Program
    {
        static void Main(string[] args)
        {
            Operation oper = OperationFactory.Create("+");
            oper.NumberA = 10;
            oper.NumberB = 5;
            double result = oper.getResult();
            Console.WriteLine(result);
        }
    }
}
